<?php
error_reporting(E_ALL);
include 'instagram.php';
if(isset($_POST['max_id']) && !empty($_POST['max_id'])){
 	$insta = new instagram();
  	$insta->getrecent($_POST['max_id']);
}//if
?>